package com.football.crm.controller;

import com.football.crm.service.MyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

@Controller
public class MyController {
    @Autowired
    private MyService myService;

    @RequestMapping("say")
    @ResponseBody
    public String say(){
        return myService.say();
    }
}
